package com.wyp168.serviceedu.mapper;

import com.wyp168.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyp168.serviceedu.entity.vo.CoursePublishVo;
import com.wyp168.serviceedu.entity.frontVo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wyp168
 * @since 2022-05-04
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    /**
     * 根据课程id查询课程基本信息
     */
    public CoursePublishVo getPublishCourseInfo(String courseId);
    //根据课程id查询相应课程的基本信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
